<template>
	<!-- 自主创业补贴申报 -->
	<view class="main">
		<!-- 申请条件 -->
		<view class="condition">
		    <view class="apply">
			<image class="image" src="https://recruit-oss.oss-cn-beijing.aliyuncs.com/recruit/img/v1/jsb.png"></image>
			申请条件
			</view>
			<view>
				首次创办小微企业或从事个体经营，且所办企业或个体工商户自工商登记注册之日起正常经营1年以上的离校2年内高校毕业生、就业困难人员、农民工、复员退伍军人。
			</view>
		</view>
		<!-- 申请流程 -->
		<!-- <view class="condition">
		<view class="apply">
			<image class="image" src="https://recruit-oss.oss-cn-beijing.aliyuncs.com/recruit/img/v1/jsb.png"></image>
			申请流程</view>
			<view>
					<u-steps :list="numList" :current="3" mode="number" direction="column"></u-steps>
				</view>
					
			
								
				
		
			
		</view> -->
		<!-- 准备材料 -->
		<view class="condition">
		    <view class="apply">
			<image class="image" src="https://recruit-oss.oss-cn-beijing.aliyuncs.com/recruit/img/v1/jsb.png"></image>
			申报资料</view>
			<view class="">
				1.申请表1份（粘贴2张1寸照片）；<br>
				2.营业执照正（副）本复印件；<br>
				3.法人身份证明1份（农民工提供户口本首页和本人页复印件；高校毕业生提供毕业证复印件；残疾人提供残疾人证；退伍军人提供退伍证；就业困难人员的提供就业困难人员认定材料）；<br>
				4.带动就业花名册；<br>
				5.与带动就业人员签订的劳动合同1份；<br>
				6法人缴纳社保相关凭证；<br>
				7.提供法人银行卡和身份证复印件；<br>
				8.首次创业相关证明。
								
				</view>
		</view>
		
		<!-- 按钮 -->
		<view>
			<view class="btns">
				<u-button class="sub" type="warning" @click="submit">立即申请</u-button>
			</view>
		</view>
		
		<view class="topText" @click="goDocuments">查看详情文件...</view>
	</view>

</template>

<script>
	import LoginBtn from "@/components/login.vue";
	export default{
		components: {
		  LoginBtn,
		},
		data() {
					return {
						numList: [{
							name: '提交申报资料'
						}, {
							name: '乡镇街道人社中心审核'
						}, ],
					}
				},
		methods:{
			submit(){
				console.log("立即申请");
				if (!this.infor.nickname){
				  uni.navigateTo({
				    url: '/package/pages/components/auth',
				  });
				}else{
					uni.navigateTo({
						url:"/pages/humanSociety/components/humanLogin"
					})
				}
			},
			getUsernfo() {
			  this.infor = uni.getStorageSync("member");
			  console.log(uni.getStorageSync("member"));
			},
			goDocuments(){
				uni.navigateTo({
					// url: '/package/pages/searchJob/other/detils?id='+id+'&type=招工',
					url:"/pages/humanSociety/components/detailedDocuments?type=7"
				})
			}
			
		},
		onLoad() {
		  this.getUsernfo();
		},
	}
	
</script>

<style scoped lang="scss">
	.main{
		// background: #7dc5eb;
		height: 100vh;
		background: #1789F9;
		padding: 20px 10px 80px 10px;
		
	}
	.topText{
		text-align: right;
		color: white;
		font-size: 12px;
		margin-bottom: 10px;
	}
	.condition{
		width: 100%;
		// height: 130px;
		padding: 8px;
		background: white;
		border-radius: 10px;
		font-size:14px;
		margin-bottom: 10px;
		
		.apply{
			border-bottom: 0.5px solid #c5cacc;
			height: 30px;
			width: 100%;
			color: #188AFA;
			font-weight: bold;
			margin-bottom: 8px;
			font-size:16px;
			.image{
				width: 20px;
				height: 20px;
				position: relative;
				top: 5px;
				
			}
		}
	}
	
	
	.btns {
		height: 60px;
		display: flex;
		align-items: center;
		justify-content: center;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 999;
		background: #027FFD;
		.sub {
			display: block;
			width: 90%;
			height:30px;
			text-align: center;
			line-height: 30px;
			margin: 0 auto;
			color: white;
			background-color: #F8BA50;
			border-radius: 4px;
		}
	}
</style>